//
//  PlayerViewController.h
//  Golf
//
//  Created by mrbradle on 11/30/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "GolfGame.h"

@interface PlayerViewController : UIViewController {

    int x;
    int y;
    
    GolfPlayer* player;
    
    UILabel* nameLabel;
    UILabel* actionLabel;
    NSMutableArray* cards;
    
    bool knocked;
    
}

- (id)initWithPlayer:(GolfPlayer*)player_ x:(int)x_ y:(int)y_;

- (void)updatePlayer:(GolfPlayer*)player_;

+ (int)WIDTH;
+ (int)HEIGHT;

@property (nonatomic)  int x;
@property (nonatomic)  int y;
@property (nonatomic)  bool  knocked;

@property (nonatomic,retain) IBOutlet GolfPlayer* player;

@property (nonatomic,retain) IBOutlet UILabel* nameLabel;
@property (nonatomic, retain) IBOutlet UILabel* actionLabel;
@property (nonatomic,retain) IBOutlet NSMutableArray* cards;

@end
